import cities from "@/data/cityData";

export const options = {
    customerMgrDeptOptions: [
        {"label": "[8011000]General Manager Room", "value": "General Manager Room"},
        {"label": "[8013000]Operation and Management Center", "value": "Operation and Management Center"},
        {"label": "[8014000]Financial Management Center", "value": "Financial Management Center"},
        {"label": "[8014010]Financing Plan Department", "value": "Financing Plan Department"},
        {"label": "[8015010]Human Resource Department", "value": "Human Resource Department"},
        {"label": "[8021000]Marketing Management Center", "value": "Marketing Management Center"},
        {"label": "[8021110]Sales A", "value": "Sales A"},
        {"label": "[8021120]Sales B", "value": "Sales B"},
        {"label": "[8021130]Sales C", "value": "Sales C"},
        {"label": "[8021140]Sales D", "value": "Sales D"},
        {"label": "[8021150]Sales E", "value": "Sales E"},
        {"label": "[8021210]Marketing Department", "value": "Marketing Department"},
        {"label": "[8031100]Business Department A", "value": "Business Department A"},
        {"label": "[8031200]Business Department B", "value": "Business Department B"},
        {"label": "[8031300]Business Department C", "value": "Business Department C"},
        {"label": "[8031400]Business Department D", "value": "Business Department D"},
        {"label": "[8031500]Business Department E", "value": "Business Department E"},
    ],
    customerMgrNameOptions: [
        {
            "label": "[000001]tom",
            "value": 1
        },
        {
            "label": "[000002]jack",
            "value": 2
        },
        {
            "label": "[000003]dom",
            "value": 3
        },
        {
            "label": "[000004]pony",
            "value": 4
        }
    ],
    customerMgrNameOptionsStr: [
        {
            "label": "[000001]Mr.Liu",
            "value": "Mr.Liu"
        },
        {
            "label": "[000002]Mr.Zhu",
            "value": "Mr.Zhu"
        },
        {
            "label": "[000003]Mr.Wang",
            "value": "Mr.Wang"
        }
    ],
    customerCountryOptions: [
        {
            "label": "[1]China",
            "value": "China"
        },
        {
            "label": "[2]USA",
            "value": "USA",
        }
    ],
    customerCityOptions: cities,
    taxTypeOptions: [
        {
            "label": "[0]Free Tax",
            "value": "Free Tax"
        },
        {
            "label": "[1]Pay Tax",
            "value": "Pay Tax"
        }
    ],
    accountGroupOptions: [
        {
            "label": "[10]Inside Country",
            "value": "Inside Country"
        },
        {
            "label": "[20]Oversea",
            "value": "Oversea"
        },
        {
            "label": "[30]Affiliated Company",
            "value": "Affiliated Company"
        }
    ],
    enterprisePropertyOptions: [
        {
            "label": "[10]Foreign-owned",
            "value": "Foreign-owned"
        },
        {
            "label": "[20]China-foreign",
            "value": "China-foreign"
        },
        {
            "label": "[30]State-owned",
            "value": "State-owned"
        },
        {
            "label": "[99]Others",
            "value": "Others"
        },

    ],
    contactsDeptOptions: [
        {
            "label": "Sales Dept",
            "value": "Sales Dept"
        },
        {
            "label": "Business Dept",
            "value": "Business Dept"
        }
    ],
    contactsPositionOptions: [
        {
            "label": "Leader",
            "value": "Leader"
        },
        {
            "label": "Worker",
            "value": "Worker"
        }
    ],
    relativeCustomerNameOptions: [
        {
            id: 1,
            customerName: "1",
            customerId: 1

        },
        {

            id: 2,
            customerName: "2",
            customerId: 3

        }
    ],
    customerRelationNameOptions: [
        {
            id: 10,
            label: "Child"
        },
        {
            id: 20,
            label: "Parent"
        },
        {
            id: 30,
            label: "Holding"
        }
    ],
    reportWeekOptions: [{
        "label": "Monday",
        "value": "Monday",
    }, {
        "label": "Tuesday",
        "value": "Tuesday",
    }, {
        "label": "Wednesday",
        "value": "Wednesday",
    }, {
        "label": "Thursday",
        "value": "Thursday",
    }, {
        "label": "Friday",
        "value": "Friday",
    }, {
        "label": "Saturday",
        "value": "Saturday",
    }, {
        "label": "Sunday",
        "value": "Sunday",
    }],


    //机会来源
    chanceResourceOptions: [{
        "label": "[10]Company",
        "value": "Company"
    }, {
        "label": "[20]Individual",
        "value": "Individual"
    }, {
        "label": "[30]Manufacturer",
        "value": "Manufacturer"
    },],


    ////////////Chance  ///////////////
    //机会阶段
    chancePhaseOptions: [{
        "label": "E-Only intention",
        "value": "E-Only intention"
    }, {
        "label": "D-communicating",
        "value": "D-communicating"
    }, {
        "label": "C-waiting",
        "value": "C-waiting"
    }, {
        "label": "B-bidding",
        "value": "B-bidding"
    }, {
        "label": "A-business",
        "value": "A-business"
    }, {
        "label": "S-sign contract",
        "value": "S-sign contract"
    },],

    //项目类型
    projectTypeOptions: [
        {
            "label": "[01]Third party software product implementation",
            "value": "Third party software product implementation"
        },
        {
            "label": "[02]Custom Development",
            "value": "Custom Development"
        },
        {
            "label": "[05]Third party service",
            "value": "Third party service"
        },
        {
            "label": "[06]Third Party Software Products",
            "value": "Third Party Software Products"
        },
        {
            "label": "[07]Third party software product maintenance fee",
            "value": "Third party software product maintenance fee"
        },
        {
            "label": "[08]Owned software products",
            "value": "Owned software products"
        },
        {
            "label": "[09]Own software product maintenance fee",
            "value": "Own software product maintenance fee"
        },
        {
            "label": "[12]Hardware product",
            "value": "Hardware product"
        },
        {
            "label": "[14]Product development",
            "value": "Product development"
        },
    ],

    // 机会类型
    chanceTypeOptions: [
        {
            "label": "[01]Third party software product implementation",
            "value": "Third party software product implementation"
        },
        {
            "label": "[02]Custom Development",
            "value": "Custom Development"
        },
        {
            "label": "[05]Third party service",
            "value": "Third party service"
        },
        {
            "label": "[06]Third Party Software Products",
            "value": "Third Party Software Products"
        },
        {
            "label": "[07]Third party software product maintenance fee",
            "value": "Third party software product maintenance fee"
        },
        {
            "label": "[08]Owned software products",
            "value": "Owned software products"
        },
        {
            "label": "[09]Own software product maintenance fee",
            "value": "Own software product maintenance fee"
        },
        {
            "label": "[12]Hardware product",
            "value": "Hardware product"
        },
        {
            "label": "[14]Product development",
            "value": "Product development"
        },
    ],

    //产品类型
    productTypeOptions: [
        {
            "label": "[01]SAP",
            "value": "SAP"
        },
        {
            "label": "[02]ORACLE",
            "value": "ORACLE"
        },
        {
            "label": "[03]NSRM",
            "value": "NSRM"
        },
        {
            "label": "[04]NPMS",
            "value": "NPMS"
        },
        {
            "label": "[05]NFOL",
            "value": "NFOL"
        },
    ],

    //机会归属
    chanceBelongOptions: [
        {"label": "[8011000]General Manager Room", "value": "General Manager Room"},
        {"label": "[8013000]Operation and Management Center", "value": "Operation and Management Center"},
        {"label": "[8014000]Financial Management Center", "value": "Financial Management Center"},
        {"label": "[8014010]Financing Plan Department", "value": "Financing Plan Department"},
        {"label": "[8015010]Human Resource Department", "value": "Human Resource Department"},
        {"label": "[8021000]Marketing Management Center", "value": "Marketing Management Center"},
        {"label": "[8021110]Sales A", "value": "Sales A"},
        {"label": "[8021120]Sales B", "value": "Sales B"},
        {"label": "[8021130]Sales C", "value": "Sales C"},
        {"label": "[8021140]Sales D", "value": "Sales D"},
        {"label": "[8021150]Sales E", "value": "Sales E"},
        {"label": "[8021210]Marketing Department", "value": "Marketing Department"},
        {"label": "[8031100]Business Department A", "value": "Business Department A"},
        {"label": "[8031200]Business Department B", "value": "Business Department B"},
        {"label": "[8031300]Business Department C", "value": "Business Department C"},
        {"label": "[8031400]Business Department D", "value": "Business Department D"},
        {"label": "[8031500]Business Department E", "value": "Business Department E"},
    ],

    // 机会状态
    chanceStatusOptions: [
        {
            //正常
            "label": "[10]Normal",
            "value": "Normal"
        },
        {
            //暂停
            "label": "[20]Pause",
            "value": "Pause"
        },
        {
            //关闭
            "label": "[30]Close",
            "value": "Close"
        },
    ],

    //客户名称
    customerNameOptions: [],


    //竞争位势选项
    competitionPotentialOptions: [{
        "label": "[10]Only Choice",
        "value": "Only Choice",
    }, {
        "label": "[20]Top Runner",
        "value": "Top Runner",
    }, {
        "label": "[30]Comparable Level",
        "value": "Comparable Level",
    }, {
        "label": "[40]Fall Behind",
        "value": "Fall Behind",
    }
    ],

    //购买人部门
    purchaseDeptOptions: [
        {"label": "[8011000]General Manager Room", "value": "General Manager Room"},
        {"label": "[8013000]Operation and Management Center", "value": "Operation and Management Center"},
        {"label": "[8014000]Financial Management Center", "value": "Financial Management Center"},
        {"label": "[8014010]Financing Plan Department", "value": "Financing Plan Department"},
        {"label": "[8015010]Human Resource Department", "value": "Human Resource Department"},
        {"label": "[8021000]Marketing Management Center", "value": "Marketing Management Center"},
        {"label": "[8021110]Sales A", "value": "Sales A"},
        {"label": "[8021120]Sales B", "value": "Sales B"},
        {"label": "[8021130]Sales C", "value": "Sales C"},
        {"label": "[8021140]Sales D", "value": "Sales D"},
        {"label": "[8021150]Sales E", "value": "Sales E"},
        {"label": "[8021210]Marketing Department", "value": "Marketing Department"},
        {"label": "[8031100]Business Department A", "value": "Business Department A"},
        {"label": "[8031200]Business Department B", "value": "Business Department B"},
        {"label": "[8031300]Business Department C", "value": "Business Department C"},
        {"label": "[8031400]Business Department D", "value": "Business Department D"},
        {"label": "[8031500]Business Department E", "value": "Business Department E"},
    ],

    //购买人职位
    purchasePositionOptions: [{
        "label": "boss",
        "value": "boss",
    }, {
        "label": "staff",
        "value": "staff",
    }],
    purchaseDecisionOptions: [{
        "label": "Mike",
        "value": "Mike"
    }, {
        "label": "John",
        "value": "John"
    }, {
        "label": "Sam",
        "value": "Sam"
    }, {
        "label": "King",
        "value": "King"
    }, {
        "label": "Van",
        "value": "Van"
    }],
    purchaseEffectOptions: [{
        "label": "[10]High",
        "value": "High",
    }, {
        "label": "[20]Middle",
        "value": "[20]Middle",
    }, {
        "label": "[30]Low",
        "value": "[30]Low",
    }],
    purchaseAcceptOptions: [{
        "label": "[10]Totally Support",
        "value": "Totally Support",
    }, {
        "label": "[20]Support",
        "value": "[20]Support",
    }, {
        "label": "[30]No opinion",
        "value": "[30]No opinion",
    }],


////////////////subchance///////////////
//子机会类型
    subchanceTypeOptions: [
        {
            "label": "[01]Third party software product implementation",
            "value": "Third party software product implementation"
        },
        {
            "label": "[02]Custom Development",
            "value": "Custom Development"
        },
        {
            "label": "[05]Third party service",
            "value": "Third party service"
        },
        {
            "label": "[06]Third Party Software Products",
            "value": "Third Party Software Products"
        },
        {
            "label": "[07]Third party software product maintenance fee",
            "value": "Third party software product maintenance fee"
        },
        {
            "label": "[08]Owned software products",
            "value": "Owned software products"
        },
        {
            "label": "[09]Own software product maintenance fee",
            "value": "Own software product maintenance fee"
        },
        {
            "label": "[12]Hardware product",
            "value": "Hardware product"
        },
        {
            "label": "[14]Product development",
            "value": "Product development"
        },],

    //子机会产品
    subchanceProductOptions: [
        {
            "label": "[01]SAP",
            "value": "SAP"
        },
        {
            "label": "[02]ORACLE",
            "value": "ORACLE"
        },
        {
            "label": "[03]NSRM",
            "value": "NSRM"
        },
        {
            "label": "[04]NPMS",
            "value": "NPMS"
        },
        {
            "label": "[05]NFOL",
            "value": "NFOL"
        },],


    //子机会部门
    subchanceDeptOptions: [
        {"label": "[8011000]General Manager Room", "value": "General Manager Room"},
        {"label": "[8013000]Operation and Management Center", "value": "Operation and Management Center"},
        {"label": "[8014000]Financial Management Center", "value": "Financial Management Center"},
        {"label": "[8014010]Financing Plan Department", "value": "Financing Plan Department"},
        {"label": "[8015010]Human Resource Department", "value": "Human Resource Department"},
        {"label": "[8021000]Marketing Management Center", "value": "Marketing Management Center"},
        {"label": "[8021110]Sales A", "value": "Sales A"},
        {"label": "[8021120]Sales B", "value": "Sales B"},
        {"label": "[8021130]Sales C", "value": "Sales C"},
        {"label": "[8021140]Sales D", "value": "Sales D"},
        {"label": "[8021150]Sales E", "value": "Sales E"},
        {"label": "[8021210]Marketing Department", "value": "Marketing Department"},
        {"label": "[8031100]Business Department A", "value": "Business Department A"},
        {"label": "[8031200]Business Department B", "value": "Business Department B"},
        {"label": "[8031300]Business Department C", "value": "Business Department C"},
        {"label": "[8031400]Business Department D", "value": "Business Department D"},
        {"label": "[8031500]Business Department E", "value": "Business Department E"},
    ],


//////////////track//////////////////

//业务类别
    trackBusinessTypeOptions: [
        {
            "label": "[01]Third-party software business",
            "value": "Third-party software business",
        }, {
            "label": "[02]Proprietary software business",
            "value": "Proprietary software business",
        }, {
            "label": "[03]System integration business",
            "value": "System integration business",
        }, {
            "label": "[04]Research and development business",
            "value": "Research and development business",
        }

    ],

    trackCommModeOptions: [{
        "label": "[1]Online",
        "value": "Online",
    }, {
        "label": "[2]FaceToFace",
        "value": "FaceToFace",
    }, {
        "label": "[3]PhoneCall",
        "value": "PhoneCall",
    }],

    trackAddressOptions: [
        {
            "label": "[1]China",
            "value": "China"
        },
        {
            "label": "[2]USA",
            "value": "USA",
        }
    ],

    approveOptions2:[
        {
            "label": "approve",
            "value": "approve"
        },
        {
            "label": "reject",
            "value": "reject",
        }
    ],
    approveOptions3:[
        {
            "label": "approve",
            "value": "approve"
        },
        {
            "label": "reject",
            "value": "reject",
        },
        {
            "label": "return",
            "value": "return",
        }
    ]
}

export const chanceAuths = {
    exportButton: {
        able: ['ADMIN', 'MANAGER'],
        show: ['ADMIN'],
    }
}

export const npms = {
    roles: {
        ADMIN: "ADMIN",
        BUSSINESS_MGR: "BUSSINESS_MGR",
        CUSTOMER_MGR: "CUSTOMER_MGR",
        MARKET_MGR: "MARKET_MGR",
        MARKET_SP: "MARKET_SP",
        MARKET_SUB_MGR: "MARKET_SUB_MGR",
    }
}